package com.guge.sports.controller;


import com.guge.sports.entity.Notify;
import com.guge.sports.service.NotifyService;
import com.guge.sports.toolPackage.base.BaseController;
import com.guge.sports.toolPackage.utils.MyPager;
import com.guge.sports.utils.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author testjava
 * @since 2022-09-14
 */
@Api(description = "学校通知接口")
@RestController
@RequestMapping("/sports/notify")
public class NotifyController extends BaseController<Notify> {
    @Autowired
    NotifyService notifyService;
    @ApiOperation(value = "实际分页查询")
    @PostMapping("/selectPage")
    public R selectPage(MyPager<Notify> myPager, @RequestBody(required = false) Notify notify){
        //return R.ok().data("page",notifyService.selectPage(myPager,notify));
        return null;
    }
}

